package com.school.appleforgetbackend.controller;

import com.school.appleforgetbackend.service.mock.MockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/mock")
public class MockController {
    @Autowired
    private MockService mockService;

    @RequestMapping(value = "/getAccountInfoList")
    @ResponseBody
    public String getAccountInfoList() {
        return mockService.getMockUser(1L);
    }
}
